import time




class Mylogin(object):

    def __init__(self,driver):
        self.driver = driver

    def mylogin(self):
        self.driver.find_element_by_xpath("//*[@name='username']").send_keys('18319731410')

        self.driver.find_element_by_xpath("//*[@name='password']").send_keys('123456')
        self.driver.find_element_by_xpath("//*[@class='el-button submit-btn el-button--default']").click()
        time.sleep(5)
